\usepackage{xspace}

% directory name
\newcommand{\dn}{.}
% XENON100 terms
\newcommand{\LCDM}{\ensuremath{\Lambda}CDM\xspace}
\newcommand{\XENONIOO}{\mbox{XENON100}\xspace}
\newcommand{\SOne}{\ensuremath{\mathit{S1}}\xspace}
\newcommand{\STwo}{\ensuremath{\mathit{S2}}\xspace}
\newcommand{\Vd}{\ensuremath{v_\text{d}}\xspace}
\newcommand{\DT}{\ensuremath{dt}\xspace}
\newcommand{\TPC}{\mbox{TPC}\xspace}
\newcommand{\LXeTPC}{\mbox{LXeTPC}\xspace}
\newcommand{\PTFE}{\mbox{PTFE}\xspace}
\newcommand{\PMT}{\mbox{PMT}\xspace}
\newcommand{\Leff}{\ensuremath{\mathcal{L}_\text{eff}}\xspace}
\newcommand{\Ly}{\ensuremath{\mathcal{L}_\text{y}}\xspace}
\newcommand{\Qy}{\ensuremath{\mathcal{Q}_\text{y}}\xspace}
\newcommand{\Ser}{\ensuremath{S_\text{er}}\xspace}
\newcommand{\Snr}{\ensuremath{S_\text{nr}}\xspace}
\newcommand{\Er}{\ensuremath{E_\text{r}}\xspace}
\newcommand{\Eth}{\ensuremath{E_\text{th}}\xspace}
\newcommand{\Eer}{\ensuremath{E_\text{er}}\xspace}
\newcommand{\Enr}{\ensuremath{E_\text{nr}}\xspace}
\newcommand{\QE}{\ensuremath{\mathit{QE}}\xspace}
\newcommand{\gain}{\ensuremath{\mathit{gain}}\xspace}
\DeclareSIUnit\keV{keV}
\DeclareSIQualifier\ee{ee}
\DeclareSIQualifier\nr{nr}
\DeclareSIUnit\pe{p.e.}

% for math
\newcommand{\vect}[1]{\mathbf{#1}}
\newtheorem{defn}{Definition}[section]
\newcommand{\GI}{G\!I}
\newcommand{\Wr}{W\!r}
\newcommand{\Tw}{Tw}
\newcommand{\seq}[1]{{\tt #1}}
\DeclareMathOperator*{\erf}{erf}
% misc command
\newcommand{\Mark}[1]{\textcolor{red}{#1}}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "thesis"
%%% End: 
